<%-- 
    Document   : answersList
    Created on : Oct 17, 2012, 9:15:38 AM
    Author     : DinhThang
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>JSP Page</title>
            <link rel="stylesheet" type="text/css" href="../styles/style.css" />
        </head>
        <body>
            <jsp:include page="../includes/incHeader.jsp" flush="false" />
            <h3>Delete Confirm</h3>
            <h:form>
                <h:inputHidden value="#{answersBean.answers.answerID}"/>
                <h:inputHidden value="#{answersBean.answers.complaintID}"/>
                <h:inputHidden value="#{answersBean.answers.answerContent}"/>
                <h:inputHidden value="#{answersBean.answers.createTime}"/>
                <h:inputHidden value="#{answersBean.answers.isEnable}"/>
                <h:panelGrid columns="2" style="margin:0 auto">
                    <h:outputText value="Are you sure?"/>
                    <h:outputText value=""/>

                    <h:commandButton action="delBackToAnswerList" value="No" />
                    <h:commandButton action="#{answersBean.delete}" value="Yes" />
                </h:panelGrid>
            </h:form>
        </body>
    </html>
</f:view>
